package com.wejoy.video.middle.station.data.vo.wechat;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 微信code转session对象
 * @author admin
 */
public class WxSessionVO {
    @JSONField(name = "errcode")
    private String errCode;
    @JSONField(name = "errmsg")
    private String errMsg;
    @JSONField(name = "openid")
    private String openId;
    @JSONField(name = "unionid")
    private String unionId;
    @JSONField(name = "session_key")
    private String sessionKey;

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    @Override
    public String toString() {
        return "WxSessionVO{" +
                "errCode='" + errCode + '\'' +
                ", errMsg='" + errMsg + '\'' +
                ", openId='" + openId + '\'' +
                ", unionId='" + unionId + '\'' +
                ", sessionKey='" + sessionKey + '\'' +
                '}';
    }
}
